//
// Created by 62660 on 2022-02-24.
//

#include "Buffer.h"

void Buffer::append(const char *_str, int _size) {
    buf.append(_str, _size);
}

ssize_t Buffer::size() {
    return buf.size();
}

const char *Buffer::c_str() {
    return buf.c_str();
}

void Buffer::clear() {
    buf.clear();
}
